<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class template basic_pstream</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../process.html#doxygen.pipe_8hpp" title="Header &lt;boost/process/v1/pipe.hpp&gt;">
<link rel="prev" href="structboost_1_1process_1_1v1_1_1basic__pipebuf.html" title="Struct template basic_pipebuf">
<link rel="next" href="namespaceboost_1_1process_1_1v1_1_1posix_1a5e04c6fc19660a6e31d1869849bdff78.html" title="Global fd">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
<td align="center"><a href="../../../index.html">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1process_1_1v1_1_1basic__pipebuf.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../process.html#doxygen.pipe_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="namespaceboost_1_1process_1_1v1_1_1posix_1a5e04c6fc19660a6e31d1869849bdff78.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template basic_pstream</span></h2>
<p>boost::process::v1::basic_pstream</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../process.html#doxygen.pipe_8hpp" title="Header &lt;boost/process/v1/pipe.hpp&gt;">boost/process/v1/pipe.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">char_traits</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span> <span class="special">&gt;</span> 
<span class="keyword">class</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">:</span>
  <span class="keyword">public</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_iostream</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">char_traits</span><span class="special">&lt;</span> <span class="identifier">CharT</span> <span class="special">&gt;</span> <span class="special">&gt;</span>
<span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pipe.html" title="Class template basic_pipe">basic_pipe</a><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33"></a><span class="identifier">pipe_type</span><span class="special">;</span>  
  <span class="keyword">typedef</span> <span class="identifier">CharT</span>                       <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ac8add72a2544b01170b6a918804074cf"></a><span class="identifier">char_type</span><span class="special">;</span>  
  <span class="keyword">typedef</span> <span class="identifier">Traits</span>                      <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a8e616a0c8f648ab9b8dd84452a2b27bf"></a><span class="identifier">traits_type</span><span class="special">;</span>
  <span class="keyword">typedef</span> <span class="identifier">Traits</span><span class="special">::</span><span class="identifier">int_type</span>            <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a1c2f2e91de652cfa9c690542548a3a08"></a><span class="identifier">int_type</span><span class="special">;</span>   
  <span class="keyword">typedef</span> <span class="identifier">Traits</span><span class="special">::</span><span class="identifier">pos_type</span>            <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a28c444f671009833a883c2541a7ed940"></a><span class="identifier">pos_type</span><span class="special">;</span>   
  <span class="keyword">typedef</span> <span class="identifier">Traits</span><span class="special">::</span><span class="identifier">off_type</span>            <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a57ce1f340a686bc6913d626feb8a22c7"></a><span class="identifier">off_type</span><span class="special">;</span>   

  <span class="comment">// <a class="link" href="boost_interprocess_header_reference/classboost_1_1interprocess_1_1bad__alloc.html#id21-bb">public member functions</a></span>
  <a class="link" href="structboost_1_1process_1_1v1_1_1basic__pipebuf.html" title="Struct template basic_pipebuf">basic_pipebuf</a><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">*</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ac59fbb5662cad506ed1b3d9e9676e477"><span class="identifier">rdbuf</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1af72453cde20a65d02622fc2cda42ab04"><span class="identifier">basic_pstream</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ac7b69d4713c1bd5dc0b965557ef74c03"><span class="identifier">basic_pstream</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a1849bb3c2d8cf0e65241b53adc2315c6"><span class="identifier">basic_pstream</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ad955a5550825a573257c08d0cb831f46"><span class="identifier">basic_pstream</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ab88cdaf79a638f705f143a6a1fa50fdd"><span class="identifier">basic_pstream</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a40d3d4eded2d0904d8bc83a2d7b14de7"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a615f2f7ebfbcb6c325f893568d27f82a"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1aa4d53dfa0638ec566cbe006e67f62e80"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a09feeb69401196827d005328205409cc"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ae305f89e94094b412b350aff5decf4c5"><span class="identifier">pipe</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1adbbd9b56507411d6b67fdb154ce120ed"><span class="identifier">pipe</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ae3a1e2346b49e7c6422d9ccd1d3aff47"><span class="identifier">pipe</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a8ddb9ab11500a4600aa169f35b201bf3"><span class="identifier">pipe</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a7338de2437682467ddfa0f610bce03fa"><span class="identifier">pipe</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1af5b66e34e848e84bc23db50b08b4543d"><span class="identifier">open</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9194465402487da16e691165592be141"><span class="identifier">open</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ab8a6533646c26dc9c09e75a0cf9df531"><span class="identifier">close</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.30.4.8.19.7.4"></a><h2>Description</h2>
<p>Implementation of a read-write pipe stream. </p>
<div class="refsect2">
<a name="id-1.3.30.4.8.19.7.4.3"></a><h3>
<a name="id21-bb"></a><code class="computeroutput">basic_pstream</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v1_1_1basic__pipebuf.html" title="Struct template basic_pipebuf">basic_pipebuf</a><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">*</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ac59fbb5662cad506ed1b3d9e9676e477"></a><span class="identifier">rdbuf</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Get access to the underlying stream_buf. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1af72453cde20a65d02622fc2cda42ab04"></a><span class="identifier">basic_pstream</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Default constructor. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ac7b69d4713c1bd5dc0b965557ef74c03"></a><span class="identifier">basic_pstream</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span></pre>Copy constructor. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a1849bb3c2d8cf0e65241b53adc2315c6"></a><span class="identifier">basic_pstream</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;&amp;</span> lhs<span class="special">)</span><span class="special">;</span></pre>Move constructor. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ad955a5550825a573257c08d0cb831f46"></a><span class="identifier">basic_pstream</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Move construct from a pipe. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ab88cdaf79a638f705f143a6a1fa50fdd"></a><span class="identifier">basic_pstream</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Copy construct from a pipe. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a40d3d4eded2d0904d8bc83a2d7b14de7"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span></pre>Copy assignment. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a615f2f7ebfbcb6c325f893568d27f82a"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;&amp;</span> lhs<span class="special">)</span><span class="special">;</span></pre>Move assignment. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1aa4d53dfa0638ec566cbe006e67f62e80"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Move assignment of a pipe. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html" title="Class template basic_pstream">basic_pstream</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a09feeb69401196827d005328205409cc"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Copy assignment of a pipe. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ae305f89e94094b412b350aff5decf4c5"></a><span class="identifier">pipe</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Set the pipe of the streambuf. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1adbbd9b56507411d6b67fdb154ce120ed"></a><span class="identifier">pipe</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Set the pipe of the streambuf. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ae3a1e2346b49e7c6422d9ccd1d3aff47"></a><span class="identifier">pipe</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Get a reference to the pipe. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a8ddb9ab11500a4600aa169f35b201bf3"></a><span class="identifier">pipe</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Get a const reference to the pipe. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__pstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9bdd67a786a58bde61708b1810cd4c33">pipe_type</a> <span class="special">&amp;&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a7338de2437682467ddfa0f610bce03fa"></a><span class="identifier">pipe</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Get a rvalue reference to the pipe. Qualified as rvalue. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1af5b66e34e848e84bc23db50b08b4543d"></a><span class="identifier">open</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Open a new pipe. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1a9194465402487da16e691165592be141"></a><span class="identifier">open</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span> name<span class="special">)</span><span class="special">;</span></pre>Open a new named pipe. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__pstream_1ab8a6533646c26dc9c09e75a0cf9df531"></a><span class="identifier">close</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Flush the buffer &amp; close the pipe. </li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2006-2012 Julio M. Merino Vidal, Ilya Sokolov,
      Felipe Tanus, Jeff Flinn, Boris Schaeling<br>Copyright © 2016 Klemens D. Morgenstern<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1process_1_1v1_1_1basic__pipebuf.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../process.html#doxygen.pipe_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="namespaceboost_1_1process_1_1v1_1_1posix_1a5e04c6fc19660a6e31d1869849bdff78.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
